import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

const router = new Router({
  routes: [
    {
      path: '/paytest',
      name: 'paytest',
      component: () => import('./views/paytest.vue')
    },
    {
      path: '/nettest',
      name: 'nettest',
      component: () => import('./views/nettest.vue')
    }
  ]
})

router.beforeEach((to, from, next) => {
  next();
})

export default router
